package com.b511.swpu.cementbackend.repository;

import com.b511.swpu.cementbackend.entity.CM_WK_Emw;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface CM_WK_EmwRepository extends JpaRepository<CM_WK_Emw, String>, JpaSpecificationExecutor<CM_WK_Emw> {

    Optional<CM_WK_Emw> findByWellNameAndCasingSize(String wellName, String casingSize);

}
